import HelloWorld from '@/components/HelloWorld';
import Button from '@/components/Button';
import Circle from '@/components/Circle';
import Grid from '@/components/Grid';
import Layout from '../components/layout';
import Color from '../components/Color';
import Font from '../components/Font';
import Affix from '../components/Affix';
import Icon from '../components/Icon';
import Backtop from '../components/Backtop';
import Spin from '../components/Spin';
import Scroll from '../components/Scroll';
import Radio from '../components/Radio';
import Input from '../components/Input';
import Alert from '../components/Alert';
import Message from '../components/Message';
import Notice from '../components/Notice';
import Card from '../components/Card';
import Progress from '../components/Progress';
import Avatar from '../components/Avatar';
import Badge from '../components/Badge';
import Collapse from '../components/Collapse';
import Timeline from '../components/Timeline';
import Checkbox from '../components/Checkbox';
import Switch from '../components/Switch';
import Menu from '../components/Menu';
import Tabs from '../components/Tabs';
import Dropdown from '../components/Dropdown';
import Page from '../components/Page';
import Breadcrumb from '../components/Breadcrumb';
import Steps from '../components/Steps';
import LoadingBar from '../components/loading-bar';
import Table from '../components/Table';
import Form from '../components/Form';
import colorPicker from '../components/color-picker';
import Upload from '../components/upload';
import Rate from '../components/rate';
import Tag from '../components/tag';
import Modal from '../components/modal';
import Tooltip from '../components/tooltip';
import Poptip from '../components/poptip';
import inputNumber from '../components/input-number';
import Transfer from '../components/Transfer';
import Select from '../components/Select';
import Slider from '../components/Slider';
import DatePicker from '../components/date-picker';
import Cascader from '../components/Cascader';
import Tree from '../components/Tree';
import Carousel from '../components/Carousel';
import TimePicker from '../components/TimePicker';
import loadingBar from '../components/loading-bar';
import autoComplete from '../components/auto-complete';
import install from '../components/install';
import workFlowDesign from '../components/workFlowDesign';
import workFlow from '../components/workFlow';
import time from '../components/time';
import anchor from '../components/anchorIview3';
import split from '../components/split';
import divider from '../components/divider';
import cell from '../components/cell';
import index from '../Index';
import Login from '../Login'
import User from "../User"
import UserList from '../sys/UserList'
import UserEdit from '../sys/UserEdit'
import RoleList from '../sys/RoleList'
import RoleEdit from '../sys/RoleEdit'
import DeptList from '../sys/DeptList'
import MenuList from '../sys/MenuList'
import MenuEdit from '../sys/MenuEdit'
import OperatorList from '../sys/OperatorList'
import ParaTypeList from '../sys/ParaTypeList'
// import orgTree from '../components/orgTree';
const orgTree = () => import(/* webpackChunkName: "group-foo" */ '../components/orgTree')
const newLocal = '/index';
export default {
	routes: [
		
		{
			path:'/index',
			name:'index',
			component:index,
			children:[
				{path: '/user', component:User,name:'user'},
				{path:'/sys/userList',name:'userList',component:UserList},
				{path:'/sys/roleList',name:'roleList',component:RoleList},
				{path:'/sys/roleEdit',name:'roleEdit',component:RoleEdit},
				{path:'/sys/userEdit',name:'userEdit',component:UserEdit},
				{path:'/sys/deptList',name:'deptList',component:DeptList},
				{path:'/sys/menuList',name:'menuList',component:MenuList},
				{path:'/sys/menuEdit',name:'menuEdit',component:MenuEdit},
				{path:'/sys/operatorList',name:'operatorList',component:OperatorList},
				{path:'/sys/paraTypeList',name:'paraTypeList',component:ParaTypeList}
			]
		},
		{
			path: '/',
			name: 'login',
			component: Login
		},
		{
			path: '/circle',
			name: 'Circle',
			component: Circle
		},
		{
			path: '/button',
			name: 'Button',
			component: Button
		},
		{
			path: '/grid',
			name: 'Grid',
			component: Grid
		},
		{
			path: '/layout',
			name: 'Layout',
			component: Layout
		},
		{
			path: '/color',
			name: 'Color',
			component: Color
		},
		{
			path: '/font',
			name: 'Font',
			component: Font
		},
		{
			path: '/icon',
			name: 'Icon',
			component: Icon
		},
		{
			path: '/affix',
			name: 'Affix',
			component: Affix
		},
		{
			path: '/back-top',
			name: 'Backtop',
			component: Backtop
		},
		{
			path: '/spin',
			name: 'Spin',
			component: Spin
		},
		{
			path: '/scroll',
			name: 'Scroll',
			component: Scroll
		},
		{
			path: '/Radio',
			name: 'Radio',
			component: Radio
		},
		{
			path: '/Input',
			name: 'Input',
			component: Input
		},
		{
			path: '/alert',
			name: 'Alert',
			component: Alert
		},
		{
			path: '/message',
			name: 'Message',
			component: Message
		},
		{
			path: '/notice',
			name: 'Notice',
			component: Notice
		},
		{
			path: '/card',
			name: 'Card',
			component: Card
		},
		{
			path: '/progress',
			name: 'Progress',
			component: Progress
		},
		{
			path: '/avatar',
			name: 'Avatar',
			component: Avatar
		},
		{
			path: '/badge',
			name: 'Badge',
			component: Badge
		},
		{
			path: '/collapse',
			name: 'Collapse',
			component: Collapse
		},
		{
			path: '/timeline',
			name: 'Timeline',
			component: Timeline
		},{
			path: '/Checkbox',
			name: 'Checkbox',
			component: Checkbox
		},
		{
			path: '/Switch',
			name: 'Switch',
			component: Switch
		},
		{
				path: '/Menu',
				name: 'Menu',
				component: Menu
		},
		{
				path: '/Tabs',
				name: 'Tabs',
				component: Tabs
		},
		{
				path: '/Dropdown',
				name: 'Dropdown',
				component: Dropdown
		},
		{
				path: '/Page',
				name: 'Page',
				component: Page
		},
		{
				path: '/Breadcrumb',
				name: 'Breadcrumb',
				component: Breadcrumb
		},
		{
				path: '/loading-bar',
				name: 'LoadingBar',
				component: LoadingBar
		},
		{
				path: '/Steps',
				name: 'Steps',
				component: Steps
		},
		{
			path: '/form',
			name: 'Form',
			component: Form
		},
		{
			path: '/color-picker',
			name: 'colorPicker',
			component: colorPicker
		},
		{
			path: '/upload',
			name: 'Upload',
			component: Upload
		},
		{
			path: '/rate',
			name: 'Rate',
			component: Rate
		},
		{
			path: '/Table',
			name: 'Table',
			component: Table
		},
		{
			path: '/tag',
			name: 'tag',
			component: Tag
		},
		{
			path: '/modal',
			name: 'modal',
			component: Modal
		},
		{
			path: '/tooltip',
			name: 'tooltip',
			component: Tooltip
		},
		{
			path: '/poptip',
			name: 'poptip',
			component: Poptip
		},
		{
			path: '/Select',
			name: 'Select',
			component: Select
		},
		{
			path: '/input-number',
			name: 'inputNumber',
			component: inputNumber
		},
		{
			path: '/transfer',
			name: 'Transfer',
			component: Transfer
		},
		{
			path: '/Slider',
			name: 'Slider',
			component: Slider
		},
		{
			path: '/date-picker',
			name: 'DatePicker',
			component: DatePicker
		},
		{
			path: '/cascader',
			name: 'Cascader',
			component: Cascader
		},
		{
			path: '/tree',
			name: 'Tree',
			component: Tree
		},
		{
			path: '/carousel',
			name: 'Carousel',
			component: Carousel
		},
		{
			path: '/time-picker',
			name: 'TimePicker',
			component: TimePicker
		},
		{
			path: '/loading-bar',
			name: 'loadingBar',
			component: loadingBar
		},
		{
			path: '/auto-complete',
			name: 'autoComplete',
			component: autoComplete
		},
		{
			path: '/workFlowDesign',
			name: 'workFlowDesign',
			component: workFlowDesign
		},
		{
				path: '/workFlow',
				name: 'workFlow',
				component: workFlow
		},
		{
				path: '/time',
				name: 'time',
				component: time
		},
		{
				path: '/anchor',
				name: 'anchor',
				component: anchor
		},
		{
				path: '/split',
				name: 'split',
				component: split
		},
		{
				path: '/divider',
				name: 'divider',
				component: divider
		},
		{
				path: '/cell',
				name: 'cell',
				component: cell
		},
		{
				path: '/orgTree',
				name: 'orgTree',
				component: orgTree
		}

	]
}
